package com.platform.scheduleJob.dao;


import com.platform.common.annotation.MyBatisDao;
import com.platform.common.base.dao.BaseDao;
import com.platform.common.page.Page;
import com.platform.scheduleJob.model.ScheduleJob;

import java.util.List;

/**
 * Created by yanzengbao on 2017/10/23.
 */
@MyBatisDao
public interface ScheduleJobDao extends BaseDao<ScheduleJob> {

    void addTask(ScheduleJob scheduleJob);

    List<ScheduleJob> findAll();

    ScheduleJob selectById(String jobId);

    List<ScheduleJob> selectByIds(String[] ids);

    void deleteByIds(String[] ids);

    void updateJob(ScheduleJob job);

    void updateElseInfo(ScheduleJob scheduleJob);
}
